package vista;
import java.awt.BorderLayout;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;

import javax.swing.WindowConstants;
import javax.swing.table.DefaultTableModel;
import javax.swing.table.TableModel;
import javax.swing.SwingUtilities;


/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class VentanaTabla extends javax.swing.JFrame {
	private JPanel panTablaPos;
	private JScrollPane scrTabla;
	private JTable tblPocisiones;
	private JLabel lblTitulo;

	/**
	* Auto-generated main method to display this JFrame
	*/
	public static void main(String[] args) {
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				VentanaTabla inst = new VentanaTabla();
				inst.setLocationRelativeTo(null);
				inst.setVisible(true);
			}
		});
	}
	
	public VentanaTabla() {
		super();
		initGUI();
	}
	
	private void initGUI() {
		try {
			setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
			{
				panTablaPos = new JPanel();
				getContentPane().add(panTablaPos, BorderLayout.CENTER);
				
				{
					lblTitulo = new JLabel();
					panTablaPos.add(lblTitulo);
					lblTitulo.setText("Tabla de Posiciones");
					lblTitulo.setBounds(148, 21, 168, 32);
					lblTitulo.setFont(new java.awt.Font("DejaVu Sans Condensed",1,16));
				}
				{
					scrTabla = new JScrollPane();
					panTablaPos.add(scrTabla);
					scrTabla.setBounds(45, 71, 379, 225);
					scrTabla.setPreferredSize(new java.awt.Dimension(419, 267));
					{
						
						tblPocisiones = new JTable();
						scrTabla.setViewportView(tblPocisiones);
					
					}
				}
			}
			pack();
			this.setSize(473, 381);
		} catch (Exception e) {
		    //add your error handling code here
			e.printStackTrace();
		}
	}

}
